import Layout from '@/layout/index'

const router = [
  {
    path: '/tbWmsMaterialReceipt',
    component: Layout,
    hidden: true,
    children: [

      {
        path: 'view/:id',
        name: 'TbWmsMaterialReceiptView',
        component: () => import('@/views/web/tbWmsMaterialReceipt/TbWmsMaterialReceiptView'),
        meta: { title: '入库列表-详细查看' },
        noCache: true,
        hidden: true
      },
      {
        path: 'tbWmsMaterialReceiptCalendarView/:id',
        name: 'TbWmsMaterialReceiptCalendarView',
        component: () => import('@/views/web/tbWmsMaterialReceipt/TbWmsMaterialReceiptCalendarView'),
        meta: { title: '库区-详细查看' },
        noCache: true,
        hidden: true
      }



    ]
  },
  {
    path: '/tbWmsTemplate',
    component: Layout,
    children: [
      {
        path: 'index',
        name: 'TbWmsTemplateList',
        component: () => import('@/views/web/tbWmsTemplate/TbWmsTemplateList'),
        meta: { title: '出入库模板-列表' },
        noCache: true
      },
     {
        path: 'tbWmsTemplateNew',
        name: 'TbWmsTemplateList',
       component: () => import('@/views/web/tbWmsTemplate/TbWmsTemplateNew'),
        meta: { title: '出入库模板-新建' },
        noCache: true
       }
   ]
  },
  {
    path: '/warehouse',
    component: Layout,
    hidden: true,
    children: [

      {
        path: 'view/:id',
        name: 'WarehouseView',
        component: () => import('@/views/basic/warehouse/WarehouseView'),
        meta: { title: '仓库-详细查看' },
        noCache: true,
        hidden: true
      },
      {
        path: 'areaView/:id',
        name: 'WarehouseAreaView',
        component: () => import('@/views/basic/warehouse/WarehouseAreaView'),
        meta: { title: '库区-详细查看' },
        noCache: true,
        hidden: true
      }

    ]
  },
  {
    path: '/tFoFreightOrder',
    component: Layout,
    hidden: true,
    children: [

      {
        path: 'tFoFreightOrderView/:id',
        name: 'TFoFreightOrderView',
        component: () => import('@/views/tms/tFoFreightOrder/TFoFreightOrderView'),
        meta: { title: '发货单-详细查看' },
        noCache: true,
        hidden: true
      }


    ]
  },
  {
    path: '/tbWmsMaterialReceiptLine',
    component: Layout,
    hidden: true,
    children: [

      {
        path: 'view/:id',
        name: 'TbWmsMaterialReceiptLineView',
        component: () => import('@/views/web/tbWmsMaterialReceiptLine/TbWmsMaterialReceiptLineView'),
        meta: { title: '入库列表-详细查看' },
        noCache: true,
        hidden: true
      }


    ]
  },
  {
    path: '/tbWmsMaterialDelivery',
  component: Layout,
  hidden: true,
  children: [
    {
      path: 'tbWmsMaterialDeliveryCalendarView/:dateRange',
      name: 'TbWmsMaterialDeliveryCalendarView',
      component: () => import('@/views/web/tbWmsMaterialDelivery/TbWmsMaterialDeliveryCalendarView'),
      meta: { title: '出库列表-日历详细查看' },
      noCache: true,
      hidden: true
    }
   ]
  },
  {
    path: '/tbWmsMaterialDelivery',
  component: Layout,
  hidden: true,
  children: [
    {
      path: 'view/:id',
      name: 'CustomerView',
      component: () => import('@/views/web/tbWmsMaterialDelivery/TbWmsMaterialDeliveryView'),
      meta: { title: '出库列表-详细查看' },
      noCache: true,
      hidden: true
    }
   ]
  },
]

export default router
